//
//  ProblemHandleViewController.h
//  Utils
//
//  Created by enghou on 2018/4/16.
//  Copyright © 2018年 xyxorigation. All rights reserved.
//

#import "StaticTableViewController.h"
#import "XXTextView.h"
#import <TZImagePickerController.h>
#import "WechatShortVideoController.h"
#import "AudioViewController.h"
#import <AVFoundation/AVFoundation.h>
#import "MSSBrowseLocalViewController.h"
#import "VideoViewController.h"
#import "PlayAudioViewController.h"
#import "NetWorkerManager.h"
#import <AVKit/AVKit.h>
#import "SelectedButton.h"
@class ProblemDoneHandleViewController;
@class ProblemFetchViewController;
@class ProblemUpViewController;
@class ProblemBackViewController;
@interface ProblemHandleViewController : StaticTableViewController

@property(nonatomic,assign)NSInteger type;

@property(nonatomic,copy)NSString *stepId;

-(NSDictionary *)param;

@property(nonatomic,copy)NSString *eventId;

@property(nonatomic,copy)NSArray *actions;

@property (weak, nonatomic) IBOutlet UIButton *firstBtn;

@property (weak, nonatomic) IBOutlet UIButton *secondBtn;

@property (weak, nonatomic) IBOutlet UIButton *thirdBtn;

@property(nonatomic,copy)NSString *typeId;

@property (weak, nonatomic) IBOutlet XXTextView *textView;


@property (weak, nonatomic) IBOutlet UITextField *typeLabel;

//10 办理   30结案   50上报   70交办  90 回退

@property(nonatomic,assign)NSInteger currentFileCount;

@property(nonatomic,assign)UIButton *selectedBtn;

@property (strong, nonatomic) IBOutlet UITableView *mainTableView;


@property(nonatomic,strong)NSMutableArray *images;
@property(nonatomic,strong)NSMutableArray *audios;
@property(nonatomic,strong)NSMutableArray *videos;
@property (strong, nonatomic) IBOutletCollection(UIButton) NSArray *sourceBtns;
@property(nonatomic,strong)UIView *tableFooter;


@property(nonatomic,strong)UITextField *dateField;

@property(nonatomic,strong)UIDatePicker *datePicker;

-(void)showActions;

- (IBAction)showFilePicker:(id)sender;

//#pragma mark - DoneTableViewController
//
//@property(nonatomic,strong)ProblemDoneHandleViewController *doneViewController;
//
//@property (weak, nonatomic) IBOutlet UITextField *done_TimeLimitField;

//#pragma mark - ProblemFetchViewController
//@property(nonatomic,strong)ProblemFetchViewController *fetchVC;
//
//@property(nonatomic,strong)ProblemUpViewController *upVC;
//
//@property(nonatomic,strong)ProblemBackViewController *backVC;

@end
